package com.love.marriage.userInfo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "UserInfoExportVo", description = "用户导出Vo")
public class UserInfoExportVo {

    @Excel(name = "编码", width = 15)
    private String code;

    @Excel(name = "手机号", width = 15)
    private String phone;

    @Excel(name = "状态", width = 10)
    private String status;

    // 是否单身
    @Excel(name = "是否单身", width = 10)
    private String singleFlag;

    // 会员
    @Excel(name = "是否会员", width = 10)
    private String membershipFlag;

    @Excel(name = "会员类型", width = 15)
    private String membershipName;

    @Excel(name = "会员有效期", width = 20, exportFormat = "yyyy-MM-dd")
    private LocalDateTime membershipExpireTime;

    // 红娘
    @Excel(name = "是否红娘", width = 10)
    private String matchmakerFlag;

    @Excel(name = "红娘编码", width = 12)
    private Integer matchmakerNo;

    @Excel(name = "红娘职级", width = 12)
    private String matchmakerPositionLevelName;

    // 合伙人
    @Excel(name = "是否合伙人", width = 12)
    private String partnerFlag;

    @Excel(name = "合伙人类型", width = 15)
    private String partnerTypeName;

    @Excel(name = "合伙人开始时间", width = 20, exportFormat = "yyyy-MM-dd")
    private LocalDateTime partnerStartTime;

    @Excel(name = "合伙人结束时间", width = 20, exportFormat = "yyyy-MM-dd")
    private LocalDateTime partnerEndTime;
}